<?php
	class filevanbanbs
	{
		public $MaFileVanBan = 0;
		public $MaVanBanDen = 0;
		public $MaVanBanDi = 0;
		public $Path = "";
		public $TenFileVanBan="";
		public function Add()
		{
			$db = new filevanbandb();
			return $db->Add($this->MaVanBanDen, $this->MaVanBanDi, $this->Path, $this->TenFileVanBan);
		}
		
		public function DeleteVanBanDen()
		{
			$db = new filevanbandb();
			return $db->DeleteVanBanDen($this->MaVanBanDen);
		}
		
		public function DeleteVanBanDi()
		{
			$db = new filevanbandb();
			return $db->DeleteVanBanDi($this->MaVanBanDi);
		}
	
		public function GetList()
		{
			$db = new filevanbandb();
			return $db-> GetList($this->MaFileVanBan, $this->MaVanBanDen, $this->MaVanBanDi, $this->TenFileVanBan);
		}
		
	}
?>